﻿using System.Web.Mvc;

namespace Isaac.Joy.MvcFramework.Web
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            //filters.Add(new IdentityExceptionAttribute(), 1);//自定义的验证特性
            filters.Add(new HandleErrorAttribute());
        }
    }
}